//
//  QuHuoTileTableViewCell2.m
//  Experss
//
//  Created by wmwMAC on 17/8/11.
//  Copyright © 2017年 嗯，大葱. All rights reserved.
//

#import "QuHuoTileTableViewCell2.h"
#import "CancelDingDanView.h"

@interface QuHuoTileTableViewCell2 ()<CancelDingDanViewDelegate>

@end
@implementation QuHuoTileTableViewCell2
- (IBAction)telBtnClicked:(UIButton *)sender {
    NSLog(@"电话");
}
- (IBAction)YiJianQuHuoBtnClicked:(UIButton *)sender {
    
    CancelDingDanView *CancelV = [[CancelDingDanView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight)];
    CancelV.titleStr = @"小通提示";
    CancelV.centerStr = @"确认一件收货?";
    CancelV.delegate = self;
    [[UIApplication sharedApplication].keyWindow addSubview:CancelV];
}

-(void)cancelOrConfirm:(NSInteger)cancel{
    if (cancel == 0) {
        NSLog(@"取消");
    }else{
        NSLog(@"确认");
    }
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    _telBtn.layer.cornerRadius = 15.0;
    _telBtn.clipsToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
